package string;

public class ValueOfDemo {
    public static void main(String[] args) {
        int b=123;
        String s1 = String.valueOf(b);
        System.out.println(s1);

        double dou =123.123;
        String s2 =String.valueOf(dou);
        System.out.println(s2);

        s1=b+"";
        System.out.println(s1);
    }
}
